package searchteam.client.ui.handlers;

import searchteam.client.ui.SearchTeamUI;
import searchteam.client.ui.widgets.MirrorDisplay;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;

public class LinkClickHandler implements ClickHandler{

	private SearchTeamUI mainUI;
	private MirrorDisplay mirror;
	
	public LinkClickHandler(SearchTeamUI u, MirrorDisplay m) {
		mainUI = u;
		mirror = m;
	}
	
	public void onClick(ClickEvent event) {
		mainUI.display(mirror);
	}

}
